home *** CD-ROM | disk | FTP | other *** search
- var main = _parent;
- c_next._visible = main.ip_cnext;
- c_prev._visible = main.ip_cprev;
- c_rewind._visible = main.ip_crewind;
- c_play._visible = main.ip_cplay;
- c_index._visible = main.ip_cindex;
- c_slider._visible = main.ip_cslider;
- c_volume._visible = main.ip_cvol;
- c_mute._visible = main.ip_cmute;
- cw = main.ip_twidth;
- ch = main.ip_theight;
- c_bleft._y = c_bbar._y = c_bright._y = ch - 30;
- c_bbar._width = cw - 20;
- c_bright._x = cw;
- colBase = main.ip_col1;
- colLight = main.ip_col2;
- colText = main.ip_col3;
- colButton = main.ip_col4;
- c_next._y = c_prev._y = c_rewind._y = c_play._y = c_index._y = c_slider._y = c_volume._y = c_mute._y = ch - 16;
- var pos = 10;
- if(c_index._visible)
- {
- pos += 12;
- }
- c_slider._x = pos;
- pos = cw - 10;
- if(c_next._visible)
- {
- c_next._x = pos;
- pos -= 18;
- }
- if(c_play._visible)
- {
- c_play._x = pos;
- pos -= 18;
- }
- if(c_prev._visible)
- {
- c_prev._x = pos;
- pos -= 18;
- }
- if(c_rewind._visible)
- {
- c_rewind._x = pos;
- pos -= 18;
- }
- if(c_volume._visible)
- {
- if(pos >= cw - 10)
- {
- pos -= 45;
- }
- else
- {
- pos -= 35;
- }
- c_volume._x = pos;
- pos -= 14;
- }
- if(c_mute._visible)
- {
- c_mute._x = pos;
- pos -= 18;
- }
- pos += 6;
- main.ipc_slider = c_slider;
- main.ipc_play = c_play;
- main.ipc_mute = c_mute;
- main.ipc_index = c_index;
- block_mc._y = ch - 30;
- with(block_mc)
- {
- beginFill(colBase,50);
- moveTo(0,0);
- lineTo(0,20);
- curveTo(0,30,10,30);
- lineTo(cw - 10,30);
- curveTo(cw,30,cw,20);
- lineTo(cw,0);
- lineTo(0,0);
- }
- bindex_mc.useHandCursor = false;
- bindex_mc.onRelease = function()
- {
- };
- bindex_mc._xscale = cw - 18;
- bindex_mc._y = ch - 30;
- bindex_mc._visible = false;
-